<?php
class AdInfo extends Portlet
{
	public $adTitle;
	public $description;
	public $link;
	
	public function init()
	{
		$this->htmlOptions = array('class'=>'adInfo');
		parent::init();
	}
	
	protected function renderContent()
	{
		echo CHtml::tag('h3', array(),$this->adTitle);
		echo CHtml::tag('p', array('class'=>'description mg-b-10'),$this->description);
		echo CHtml::link(Yii::t('adv','goto_page'),$this->link,array('class'=>'btn-s','target'=>'_blank','style'=>'width: 350px;'));
	}
}